package com.spatio.serving.basic.service.template.common.domain;

import com.alibaba.fastjson.JSONArray;

import java.math.BigInteger;
import java.time.LocalDate;
import java.util.List;

public class HistoryCaloriesDo {
    private BigInteger user_id;

    private LocalDate date;

    private double target_calories;

    private double target_proteins;

    private double target_fats;

    private double target_carbs;

    private double total_calories;

    private double total_proteins;

    private double total_fats;

    private double total_carbs;

    private List<mutliFoodRecordDo> day_all_food;


    public HistoryCaloriesDo() {
    }

    public HistoryCaloriesDo(BigInteger user_id, LocalDate date, double target_calories, double target_proteins, double target_fats, double target_carbs, double total_calories, double total_proteins, double total_fats, double total_carbs, List<mutliFoodRecordDo> day_all_food) {
        this.user_id = user_id;
        this.date = date;
        this.target_calories = target_calories;
        this.target_proteins = target_proteins;
        this.target_fats = target_fats;
        this.target_carbs = target_carbs;
        this.total_calories = total_calories;
        this.total_proteins = total_proteins;
        this.total_fats = total_fats;
        this.total_carbs = total_carbs;
        this.day_all_food = day_all_food;
    }

    /**
     * 获取
     * @return user_id
     */
    public BigInteger getUser_id() {
        return user_id;
    }

    /**
     * 设置
     * @param user_id
     */
    public void setUser_id(BigInteger user_id) {
        this.user_id = user_id;
    }

    /**
     * 获取
     * @return date
     */
    public LocalDate getDate() {
        return date;
    }

    /**
     * 设置
     * @param date
     */
    public void setDate(LocalDate date) {
        this.date = date;
    }

    /**
     * 获取
     * @return target_calories
     */
    public double getTarget_calories() {
        return target_calories;
    }

    /**
     * 设置
     * @param target_calories
     */
    public void setTarget_calories(double target_calories) {
        this.target_calories = target_calories;
    }

    /**
     * 获取
     * @return target_proteins
     */
    public double getTarget_proteins() {
        return target_proteins;
    }

    /**
     * 设置
     * @param target_proteins
     */
    public void setTarget_proteins(double target_proteins) {
        this.target_proteins = target_proteins;
    }

    /**
     * 获取
     * @return target_fats
     */
    public double getTarget_fats() {
        return target_fats;
    }

    /**
     * 设置
     * @param target_fats
     */
    public void setTarget_fats(double target_fats) {
        this.target_fats = target_fats;
    }

    /**
     * 获取
     * @return target_carbs
     */
    public double getTarget_carbs() {
        return target_carbs;
    }

    /**
     * 设置
     * @param target_carbs
     */
    public void setTarget_carbs(double target_carbs) {
        this.target_carbs = target_carbs;
    }

    /**
     * 获取
     * @return total_calories
     */
    public double getTotal_calories() {
        return total_calories;
    }

    /**
     * 设置
     * @param total_calories
     */
    public void setTotal_calories(double total_calories) {
        this.total_calories = total_calories;
    }

    /**
     * 获取
     * @return total_proteins
     */
    public double getTotal_proteins() {
        return total_proteins;
    }

    /**
     * 设置
     * @param total_proteins
     */
    public void setTotal_proteins(double total_proteins) {
        this.total_proteins = total_proteins;
    }

    /**
     * 获取
     * @return total_fats
     */
    public double getTotal_fats() {
        return total_fats;
    }

    /**
     * 设置
     * @param total_fats
     */
    public void setTotal_fats(double total_fats) {
        this.total_fats = total_fats;
    }

    /**
     * 获取
     * @return total_carbs
     */
    public double getTotal_carbs() {
        return total_carbs;
    }

    /**
     * 设置
     * @param total_carbs
     */
    public void setTotal_carbs(double total_carbs) {
        this.total_carbs = total_carbs;
    }

    /**
     * 获取
     * @return day_all_food
     */
    public List<mutliFoodRecordDo> getDay_all_food() {
        return day_all_food;
    }

    /**
     * 设置
     * @param day_all_food
     */
    public void setDay_all_food(List<mutliFoodRecordDo> day_all_food) {
        this.day_all_food = day_all_food;
    }

    public String toString() {
        return "HistoryCaloriesDo{user_id = " + user_id + ", date = " + date + ", target_calories = " + target_calories + ", target_proteins = " + target_proteins + ", target_fats = " + target_fats + ", target_carbs = " + target_carbs + ", total_calories = " + total_calories + ", total_proteins = " + total_proteins + ", total_fats = " + total_fats + ", total_carbs = " + total_carbs + ", day_all_food = " + day_all_food + "}";
    }
}
